[INFO] cloning repository https://github.com/myst6re/vtun-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/myst6re/vtun-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyst6re%2Fvtun-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyst6re%2Fvtun-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7aa89fbf07a7faf8403c8565195a1dd0233ac068
[INFO] building myst6re/vtun-rs against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyst6re%2Fvtun-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/myst6re/vtun-rs on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/myst6re/vtun-rs
[INFO] finished tweaking git repo https://github.com/myst6re/vtun-rs
[INFO] tweaked toml for git repo https://github.com/myst6re/vtun-rs written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/myst6re/vtun-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded strsim v0.5.1
[INFO] [stderr]   Downloaded nix v0.6.0
[INFO] [stderr]   Downloaded clap v2.10.4
[INFO] [stderr]   Downloaded unicode-segmentation v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f84a92527918e6c17642c555d260fb07752e96d5bbfa7b9fb930a62424ff8d86
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f84a92527918e6c17642c555d260fb07752e96d5bbfa7b9fb930a62424ff8d86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f84a92527918e6c17642c555d260fb07752e96d5bbfa7b9fb930a62424ff8d86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f84a92527918e6c17642c555d260fb07752e96d5bbfa7b9fb930a62424ff8d86", kill_on_drop: false }`
[INFO] [stdout] f84a92527918e6c17642c555d260fb07752e96d5bbfa7b9fb930a62424ff8d86
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 942286b6c595169c220ee6289d8c5e1c21ded70b3f76260f1d91088e3d68f1b9
[INFO] running `Command { std: "docker" "start" "-a" "942286b6c595169c220ee6289d8c5e1c21ded70b3f76260f1d91088e3d68f1b9", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver v0.1.20
[INFO] [stderr]    Compiling libc v0.2.15
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling vec_map v0.6.0
[INFO] [stderr]    Compiling unicode-width v0.1.3
[INFO] [stderr]    Compiling bitflags v0.7.0
[INFO] [stderr]    Compiling cfg-if v0.1.0
[INFO] [stderr]    Compiling ansi_term v0.8.0
[INFO] [stderr]    Compiling rustc_version v0.1.7
[INFO] [stderr]    Compiling term_size v0.1.0
[INFO] [stderr]    Compiling clap v2.10.4
[INFO] [stderr]    Compiling nix v0.6.0
[INFO] [stderr]    Compiling vtun-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `nix`?
[INFO] [stdout]  --> src/tunnel.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use nix::sys::socket::setsockopt;
[INFO] [stdout]   |     ^^^ maybe a missing crate `nix`?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `nix`?
[INFO] [stdout]  --> src/tunnel.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nix::sys::socket::sockopt::KeepAlive;
[INFO] [stdout]   |     ^^^ maybe a missing crate `nix`?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Read` in this scope
[INFO] [stdout]  --> src/tunnel.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn tunnel_net<S: Read + Write + AsRawFd>(in_c: S, out_c: S) {
[INFO] [stdout]   |                  ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Read;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope
[INFO] [stdout]  --> src/tunnel.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn tunnel_net<S: Read + Write + AsRawFd>(in_c: S, out_c: S) {
[INFO] [stdout]   |                         ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Write;
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Write;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsRawFd` in this scope
[INFO] [stdout]  --> src/tunnel.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn tunnel_net<S: Read + Write + AsRawFd>(in_c: S, out_c: S) {
[INFO] [stdout]   |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::os::unix::prelude::AsRawFd;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Read` in this scope
[INFO] [stdout]   --> src/tunnel.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn tunnel_loc<S: Read + Write + AsRawFd>(in_c: S, out_c: S) {
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope
[INFO] [stdout]   --> src/tunnel.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn tunnel_loc<S: Read + Write + AsRawFd>(in_c: S, out_c: S) {
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::fmt::Write;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsRawFd` in this scope
[INFO] [stdout]   --> src/tunnel.rs:25:33
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn tunnel_loc<S: Read + Write + AsRawFd>(in_c: S, out_c: S) {
[INFO] [stdout]    |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::prelude::AsRawFd;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Read` in this scope
[INFO] [stdout]   --> src/tunnel.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn tunnel_loop<S: Read + Write + AsRawFd>(net: S, loc: S) {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope
[INFO] [stdout]   --> src/tunnel.rs:41:26
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn tunnel_loop<S: Read + Write + AsRawFd>(net: S, loc: S) {
[INFO] [stdout]    |                          ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::fmt::Write;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsRawFd` in this scope
[INFO] [stdout]   --> src/tunnel.rs:41:34
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn tunnel_loop<S: Read + Write + AsRawFd>(net: S, loc: S) {
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::unix::prelude::AsRawFd;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Duration` in this scope
[INFO] [stdout]   --> src/tunnel.rs:51:65
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn tunnel(mut stream: TcpStream, udp: bool, timeout: Option<Duration>) {
[INFO] [stdout]    |                                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `setsockopt` in this scope
[INFO] [stdout]   --> src/tunnel.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         setsockopt(stream.as_raw_fd(), KeepAlive, true);
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `KeepAlive` in this scope
[INFO] [stdout]   --> src/tunnel.rs:60:40
[INFO] [stdout]    |
[INFO] [stdout] 60 |         setsockopt(stream.as_raw_fd(), KeepAlive, true);
[INFO] [stdout]    |                                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/tunnel.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 |     if (udp) {
[INFO] [stdout]    |        ^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/server.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::{TcpListener, TcpStream, ToSocketAddrs};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vtun-rs`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "942286b6c595169c220ee6289d8c5e1c21ded70b3f76260f1d91088e3d68f1b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "942286b6c595169c220ee6289d8c5e1c21ded70b3f76260f1d91088e3d68f1b9", kill_on_drop: false }`
[INFO] [stdout] 942286b6c595169c220ee6289d8c5e1c21ded70b3f76260f1d91088e3d68f1b9
